import Vue from "vue";
import Router from 'vue-router'

Vue.use(Router)

const routes = [
    {
        path: '/button',
        name: 'Button',
        component: () => import('@/view/ButtonView.vue')
    },
    {
        path: '/elrowcol',
        name: 'ElRowCOl',
        component: () => import('@/view/ElRowColView.vue'),
    },
    {
        path: '/from',
        name: 'From',
        component: () => import('@/view/FromView.vue'),
    },
]

const router = new Router({
    mode: 'history',
    base: process.env.BASE_URL,
    routes
})

export default router